package com.ssrs.platform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ssrs.framework.core.OperateReport;
import com.ssrs.platform.model.entity.Branch;

/**
 * <p>
 * 组织机构表 服务类
 * </p>
 *
 * @author ssrs
 * @since 2020-04-04
 */
public interface IBranchService extends IService<Branch> {
    /**
     * 存在重复的名称或机构编码判断
     *
     * @param name
     * @param branchCode
     * @param innerCode
     * @return
     */
    OperateReport isNameOrBranchCodeExists(String name, String branchCode, String innerCode);
}
